#ifndef zpkwgthlksdfgj989
#define zpkwgthlksdfgj989
#include "updater.types.h"
#include "updater.w.system.h"

#ifdef DEBUG
#   define DD w_printf
#   define DE w_printf
#else
#   define DD do{}while(0)
#   define DE do{}while(0)
#endif

#ifdef BE_VERBOSE
	extern INT gl_dbg_shift;
#	define PRINT w_printf
#	define PERROR w_perror

#	define RETURN(x) \
	{ INT ii__rr = 0; \
	gl_dbg_shift --; \
	while(ii__rr++ < gl_dbg_shift) w_printf("  "); }\
	do{PRINT("<- %s:%d <%d>\n", __FUNCTION__, __LINE__,(int)x); \
	return(x);} \
	while(0)

#	define RETURNVOID() \
	{ INT ii__rr = 0; 	gl_dbg_shift --; \
	while(ii__rr++ < gl_dbg_shift) w_printf("  "); } \
	do{PRINT("<- %s:%d <VOID>\n", __FUNCTION__, __LINE__); \
	return;} \
	while(0)

#	define ENTRY()	do { \
	{ INT ii__rr = 0; while(ii__rr++ < gl_dbg_shift) w_printf("  "); } \
	gl_dbg_shift ++; \
	w_printf("-> %s:%d\n", __FUNCTION__, __LINE__); \
	}while(0)	

#else
#	define PRINT do{}while(0)
#	define PERROR do{}while(0)
#	define RETURN return
#	define RETURNVOID() return
#	define ENTRY() do{}while(0)
#endif

#endif /* zpkwgthlksdfgj989 */

